const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    // host: '0.0.0.0',
    // port: '8080',
    // open: true,
    proxy: {
      '/api': {
        target: 'http://120.46.205.87/',
        // ws:true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/api'
        }
      }
    },
  },
})
